package ${domain}.module.wsys.req;

import ${domain}.frame.base.BaseFindRequest;
import ${domain}.frame.validation.Number;

/**
 * TokensLogoutRequest -  通行证注销
 *
 * @author wangbing
 * @version 0.0.1
 * @since 2017-01-01
 */
public class DataErrorRequest extends BaseFindRequest {

    // 日期格式化;默认yyyy-MM-dd
    private String format = "yyyy-MM-dd";
    // 统计天数
    @Number(min = 1, max = 366, message = "统计天数最少为1天,最大为366天")
    private int days;
    // 是否包含今天
    private boolean today;

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    public boolean isToday() {
        return today;
    }

    public void setToday(boolean today) {
        this.today = today;
    }
}
